home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 15 / CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso / CUCD / Graphics / Ghostscript / source / gslib.h < prev    next >
Encoding:
Text File  |  1996-05-08  |  1.4 KB  |  35 lines

  1. /* Copyright (C) 1995, 1996 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17. */
  18.  
  19. /* gslib.h */
  20. /* Top-level API functions for imaging library */
  21. /* Requires stdio.h, gsmemory.h */
  22.  
  23. /*
  24.  * Initialize the library.  gs_lib_init does all of the initialization,
  25.  * using the C heap for initial allocation; if a client wants the library to
  26.  * use a different default allocator during initialization, it should call
  27.  * gs_lib_init0 and then gs_lib_init1.
  28.  */
  29. void gs_lib_init(P1(FILE *debug_out));
  30. void gs_lib_init0(P1(FILE *debug_out));
  31. void gs_lib_init1(P1(gs_memory_t *));
  32.  
  33. /* Clean up after execution. */
  34. void gs_lib_finit(P2(int exit_status, int code));
  35.